package com.chaowen.service;

import android.os.Handler;

public abstract class Task implements Runnable{

	@Override
	public abstract void run();//线程操作
	public abstract void setHandler(Handler handler);//设置handler
	public abstract void onPostExecute(int result);//handler发送消息给主界面
	public abstract void execute();//启动线程方法
}
